package com.keepsport.keepsportapi.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ActivityAddDto {
    private Integer atid;
    private String title;
    private String imgurl;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sdate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date edate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ctime =new Date();
    private String info;
    private Integer minlevel;//用户参加等级最低要求
    private Integer maxperson;//活动最大参与人数
}
